home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS in a Box 7
/
BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso
/
Files
/
Hyper
/
C-Cl
/
CD-ROM Tutorial.cpt
/
CD-ROM Tutorial
/
card_9348.txt
< prev
next >
Wrap
Text File
|
1990-04-04
|
5KB
|
247 lines
-- card: 9348 from stack: in
-- bmap block id: 9642
-- flags: 0000
-- background id: 8923
-- name: General Layout 1
----- HyperTalk script -----
on openCard
hide card field "?"
hide card field "root"
hide card field "right"
delete line 1 of card field ques
set lockScreen to false
set userLevel to 2
click at 219,155
end openCard
-- part 3 (field)
-- low flags: 00
-- high flags: 2000
-- rect: left=60 top=94 right=172 bottom=446
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 21
-- text size: 12
-- style flags: 16640
-- line height: 16
-- part name:
-- part 7 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=5 top=38 right=90 bottom=486
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 21
-- text size: 24
-- style flags: 256
-- line height: 32
-- part name:
-- part 8 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=333 top=297 right=340 bottom=405
-- title width / last selected line: 0
-- icon id / first selected line: 19381 / 19381
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Review
----- HyperTalk script -----
on mouseUp
visual effect wipe right
set userLevel to 1
go to previous card
end mouseUp
-- part 10 (field)
-- low flags: 00
-- high flags: 2004
-- rect: left=213 top=144 right=167 bottom=296
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: ques
----- HyperTalk script -----
on returnKey
if line 1 of card field ques is "search?" then
show card field "right"
wait 1 seconds
global wild
put "1" into wild
set lockScreen to true
set userLevel to 1
go to card id 23137
else if line 1 of card field ques is "search" then
hide card field "root"
show card field "?"
delete line 1 of card field ques
else
delete line 1 of card field ques
hide card field "?"
show card field "root"
end if
click at 219,155
end returnKey
-- part 11 (button)
-- low flags: 00
-- high flags: A003
-- rect: left=309 top=133 right=170 bottom=375
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: OK
----- HyperTalk script -----
on mouseUp
if line 1 of card field ques is "search?" then
show card field "right"
wait 1 seconds
global wild
put "1" into wild
set lockScreen to true
set userLevel to 1
go to card id 23137
else if line 1 of card field ques is "search" then
hide card field "root"
show card field "?"
delete line 1 of card field ques
else
delete line 1 of card field ques
hide card field "?"
show card field "root"
end if
click at 219,155
end mouseUp
-- part 12 (field)
-- low flags: 80
-- high flags: 2004
-- rect: left=171 top=181 right=279 bottom=331
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: ?
-- part 13 (field)
-- low flags: 80
-- high flags: 2004
-- rect: left=170 top=181 right=280 bottom=331
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: root
-- part 14 (field)
-- low flags: 00
-- high flags: 2001
-- rect: left=164 top=180 right=281 bottom=334
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 21
-- text size: 24
-- style flags: 16640
-- line height: 32
-- part name: right
-- part 15 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=22 top=300 right=342 bottom=89
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: New Button
----- HyperTalk script -----
on mouseUp
set userLevel to 1
go to card id 23137
end mouseUp
-- part 16 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=405 top=295 right=342 bottom=502
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: New Button
-- part contents for card part 3
----- text -----
Type in the root word and symbol that would yield the words SEARCHES and SEARCHING.
Then click on OK.
-- part contents for card part 7
----- text -----
Practice Exercise: Wildcards
-- part contents for card part 12
----- text -----
You need to type a ? after the word search.
Please try again.
-- part contents for card part 13
----- text -----
Type the ROOT word, followed by a ?.
Please try again.
-- part contents for card part 14
----- text -----
CORRECT!
-- part contents for card part 10
----- text -----
search?